package com.itheima.package1_threadpool;

public class Demo1 {
    public static void main(String[] args) {
        Outer o = new Outer();
        o.method();
    }
}

class Outer{
    int a = 10;
    class Inner{
        int b = 20;
        public void show(){
            System.out.println("Inner....show");
        }
    }

    public void method(){
        int d = 40;
        class Inner1{
            int c = 30;
            public void show1(){
                System.out.println("Inner1...show1");
                System.out.println(a);
                Inner inner = new Inner();
                int b = inner.b;
                System.out.println(b);
                System.out.println(c);
                System.out.println(d);
            }
        }
        Inner1 in1 = new Inner1();
        in1.show1();
        System.out.println(in1.c);
    }
}
